/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package ds_Stack;

/**
 *
 * @author hcc25_000
 */
public interface MyStackADT<T>{
    
    public void push(T element);//压栈
    
    public T pop();//出栈
    
    public T peek();//首元素出栈
    
    public boolean isEmpty();
    
    public int size();
    
    public String toString();
}
